package homework02;

public class TryCatchDemo {
    public static void main(String[] args) {
        String a=null;
        try {
            System.out.println(a.length());
        }catch (Exception e){
            System.out.println("已解决问题");
        }
    }
}
